package design.factory.method;

import design.factory.abstrac.Computer;
import design.factory.abstrac.HwComputerImpl;
import design.factory.simple.HwPhoneImpl;
import design.factory.simple.Phone;

/**
 * <p>
 * huawei factory
 * </P>
 *
 * @author dingwen
 * @date 2021.10.22 14:16
 */
public class HwFactory implements AbstractFactory {
    @Override
    public Phone makePhone() {
        return new HwPhoneImpl();
    }

    @Override
    public Computer makeComputer() {
        return new HwComputerImpl();
    }
}
